package com.tengniu.api.dto.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PasswordSetReq implements Serializable {

    @NotBlank(message = "两次输入的密码不相同")
    private String password1;

    @NotBlank(message = "两次输入的密码不相同")
    private String password2;

}
